package br.com.seimos.minijava.frame;

import br.com.seimos.minijava.temp.Temp;
import br.com.seimos.minijava.tree.Exp;
import br.com.seimos.minijava.tree.TEMP;

public class InReg extends Access {
	Temp temp;

	public InReg(Temp t) {
		temp = t;
	}

	@Override
	public Exp exp(Exp framePtr) {
		return new TEMP(temp);
	}
}
